package com.ns.scs.vsb.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ns.core.entry.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 视图看板视图数据
 *
 * @author lw
 * @version 1.0.0
 * @since 2024-11-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@Accessors(chain = true)
@TableName(value = "SCSS_VIEW_BOARD")
public class ViewBoard extends BaseModel {
    /**
     * 此模块对应的表名
     */
    public static final String TABLE_NAME = "SCSS_VIEW_BOARD";

    /**
     * 唯一标识
     */
    @TableId(type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 编码
     */
    private String code;

    /**
     * 类型
     */
    private String type;

    /**
     * 所属位置
     */
    private String location;

    /**
     * 位置索引
     */
    private String locationIndex;

    /**
     * 面板数据
     */
    private String panelTags;

    /**
     * 精确
     */
    private Integer accuracy;

    /**
     * 分隔符
     */
    private String delimiter;
}
